package com.jinsi.mapper.lv;



import com.jinsi.pojo.SyLvCurriculum;
import com.jinsi.pojo.SyLvCurriculumExamineLog;
import com.jinsi.pojo.SyLvOperationLog;
import com.jinsi.pojo.SylvCurriculumLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

@Mapper
public interface SyLvCurriculumMapper {
    public List<SyLvCurriculum> getAllCm(SyLvCurriculum syLvCurriculum);
    public int count(Integer curriculumUserid);

    public int getCS(int curriculumId);

    public void updateOnShelfStatus(@Param("curriculumId") int curriculumId,@Param("curriculumShelves") int curriculumShelves,@Param("currculumUpdatedBy") String currculumUpdatedBy);

    public void update(SyLvCurriculum syLvCurriculum);

    public SyLvCurriculum getId(int curriculumId);

    public void add(SylvCurriculumLog sylvCurriculumLog);

    public List<SylvCurriculumLog> log(int curriculumId);

    public void delete(@Param("curriculumId") int curriculumId, @Param("currculumIsActive") Integer currculumIsActive);

    public void insert(SyLvCurriculum syLvCurriculum);

    public int grounding(Integer curriculumUserid);


    public  void insertExamineLog(SyLvCurriculumExamineLog syLvCurriculumExamineLog);

    public List<SyLvCurriculumExamineLog> examineLog(int curriculumId);

    public void auditDetailsupdate(SyLvCurriculum syLvCurriculum);

    public void auditDetailsinset(SyLvCurriculumExamineLog syLvCurriculumExamineLog);

    public List<SyLvCurriculumExamineLog> auditLog();

    public void addOperationLog(SyLvOperationLog syLvOperationLog);

    public List<SyLvOperationLog> operationLog(@Param("logSsdel")Integer logSsdel);

    public void deloperationLog(@Param("logId") int logId,@Param("logSsdel")Integer logSsdel);
}
